//logs.js
// const util = require('../../utils/util.js')

Page({
  data: {
      h5Url : 'https://webapp.vizen.cn/album_pano/v1.0.36/index.html?albumId=53237F0F8FD54746BBE7913F24A29A92&lang=&vrflag=on',
      h5Url2 : 'https://web.travelsky.com/siat-web/weixin/ticketIndex?appid=wx27e75674366856b9',
      h5test:'https://webapp.vizen.cn/album_pano/index.html?albumId=61294C7C7CA94ECC9189FC2C52B4563F&lang=&vrflag=on',
      url:''
  },
  onLoad: function (options) {
    var that = this ;
    var id = options.id;
    var urltemp = '';
    if (id == 120) {
      urltemp = 'https://webapp.vizen.cn/album_pano/index.html?albumId=BBBCBCF77B544E4A9172E63B332FD03F&lang=&vrflag=on';
    }else if (id == 118) {
      urltemp = 'https://webapp.vizen.cn/album_pano/index.html?albumId=53237F0F8FD54746BBE7913F24A29A92&lang=&vrflag=on';
    }else if (id == 121) {
      urltemp = 'https://webapp.vizen.cn/album_pano/index.html?albumId=B02EC3DA7E37405C95EBA5FD99F57EE5&lang=&vrflag=on';
    }else if (id == 122) {
      urltemp = 'https://webapp.vizen.cn/album_pano/index.html?albumId=004D6BACE4E44CEC849DD6F1CAFFD10F&lang=&vrflag=on';
    }else if (id == 124) {
      urltemp = 'https://webapp.vizen.cn/album_pano/index.html?albumId=61294C7C7CA94ECC9189FC2C52B4563F&lang=&vrflag=on';
    }else if (id == 125) {
      urltemp = 'https://webapp.vizen.cn/album_pano/index.html?albumId=16F1A26640104F44B9F888C60308472D&lang=&vrflag=on';
    }
    that.setData({
      url:urltemp
    })
  }
})
